<template>
	<div id="app">
		<!-- <img src="./assets/logo.png"> -->
		<router-view />
		<!-- <div class="tab border-1px"> -->
			<!-- 使用router-link组件导航 -->
			<!-- 通过传入'to'属性指定路径 -->
			<!-- <router-link>默认会被渲染成一个<a>标签 -->
			<!-- <router-link class="tab-item" to="/Goods">商品</router-link>
			<router-link class="tab-item" to="/Comment">评论</router-link>
			<router-link class="tab-item" to="/Se    mller">卖家</router-link>
			<router-link class="tab-item" to="/Books">书城</router-link> -->
			
			<!-- <br>
		</div> -->
		
		
		<!-- 底部菜单 -->
		<!-- <van-tabbar v-model="active">
		  <van-tabbar-item icon="home-o"><router-link class="tab-item" to="/First">首页</router-link></van-tabbar-item>
		  <van-tabbar-item icon="assets/dibu.png" @click="Community()"></van-tabbar-item>
		  <van-tabbar-item icon="user-o"><router-link class="tab-item" to="/Mine">个人中心</router-link></van-tabbar-item>
		</van-tabbar> -->
	</div>
</template>
<script>
import { Toast } from 'vant';
export default {
	//调用接口
  name:'App',
  // created(){
	 //  this.$axios.post('http://localhost:8080/user/login').then(res=>{
		//   //数据处理
		//   console.log(res);
	 //  });
  // },
  data() {
      return {
        active:0,
      };
    },
	methods: {
		// Community(){
		// 	this.$router.push({path:'Community'})
		// }
	},
 
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}
body{
	font-family: helvetica,sans-serif;
}
a{
	text-decoration: none;
}
</style>
